/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, {Component} from 'react';
import {Text} from 'react-native';
import {StackNavigator} from 'react-navigation';


//导入所有的页面，相当于Android中的mainfest文件中注册Activity一样的
// var indexFile = require('./appfile/MianView');
var MainView = require('./appfile/MainView');
var Profile = require('./appfile/Profile');


export default ModalStack = StackNavigator(
    {
        MainView: {screen: MainView},//这样是默认打开首页
        Profile: {screen: Profile},
    },

    {
        navigationOptions: {
            headerBackTitle: "首页",
            headerTintColor: '#000000',
            header: null,
            showIcon: true,
            swipeEnabled: true,
            animationEnabled: true,
			//修改注释注释
			//创建分支
        },
        module: 'card',
    }
);






